Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


insertObjectMaster

This procedure creates or updates records on the Repository’s ryc_smartobject table for the passed-in dynamic or static object.

If an attribute value is contained in the attribute value table and is set against the master owner, the attribute value is set against the object.

Location: ry\app\rydesmngrp.i

Parameters:

INPUT pcObjectName AS CHARACTER

The name of the object to be stored.

INPUT pcResultCode AS CHARACTER

The result code for which to store this object. A blank result code defaults to the DEFAULT-RESULT-CODE. This is an optional parameter.

INPUT pcProductModuleCode AS CHARACTER

The product module in which to store the object.

INPUT pcObjectTypeCode AS CHARACTER

The object type (class) of this object.

INPUT pcObjectDescription AS CHARACTER

A description of the object.

INPUT pcObjectPath AS CHARACTER

The relative path of this object. If this is blank, then the product module determines the relative path of the object. This is an optional parameter.

INPUT pcSdoObjectName AS CHARACTER

The name of an SDO associated with this object. This is an optional parameter.

INPUT pcSuperProcedureName AS CHARACTER

The name of a super procedure associated with this object. This is an optional parameter.

INPUT plIsTemplate AS LOGICAL

Is this object a template?

INPUT plIsStatic AS LOGICAL

Is this a static object?

INPUT pcPhysicalObjectName AS CHARACTER

The name of the physical object associated with this object. Except for static objects, a physical object must be supplied. If none is passed in, a default is used. This is an optional parameter.

INPUT plRunPersistent AS LOGICAL

Whether or not the object must run persistently.

INPUT pcTooltipText AS CHARACTER

The ToolTip text for the object. If this is blank, the object description is used.

INPUT pcRequiredDBList AS CHARACTER

The databases required to run this object.

INPUT pcLayoutCode AS CHARACTER

The layout code for this object. This is an optional parameter.

INPUT phAttributeValueBuffer AS HANDLE

Pointers to the attribute value temp-table.

INPUT TABLE-HANDLE phAttributeValueTabl OUTPUT pdSmartObjectObj AS DECIMAL

The smartobject_obj of the updated object.

Notes: If the object type of the object has the “layout supported” flag set to YES, the layout defaults to RELATIVE if none is specified.

Examples: See the generateDataFields procedure in ry\app\rydesmngrp.i.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095